package com.ytzl.itrip.service;

import com.ytzl.itrip.pojo.ItripOrderLinkUser;
import com.ytzl.itrip.common.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ItripOrderLinkUserService {

    public ItripOrderLinkUser getItripOrderLinkUserById(@Param(value = "id") Long id) throws Exception;

    public List<ItripOrderLinkUser> getItripOrderLinkUserListByMap(Map
                                                                           <String, Object> param) throws Exception;

    public Integer getItripOrderLinkUserCountByMap(Map
                                                           <String, Object> param) throws Exception;

    public Integer saveItripOrderLinkUser(ItripOrderLinkUser itripOrderLinkUser) throws Exception;

    public Integer modifyItripOrderLinkUser(ItripOrderLinkUser itripOrderLinkUser) throws Exception;

    public Integer removeItripOrderLinkUserById(@Param(value = "id") Long id) throws Exception;

    public Page<ItripOrderLinkUser> queryItripOrderLinkUserPageByMap(Map
                                                                             <String, Object> param, Integer pageNo, Integer pageSize) throws Exception;

    public Integer removeItripOrderLinkUserByIds(@Param(value = "ids") Long[] ids) throws Exception;

    //查询所有未支付订单的用户Id
    List<Long> getItripOrderLinkUserIdsByOrder();
}
